<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Root template -->
  <xsl:template match="/">   
        <table width="321" border="0" align="center">
        <tr>
          <td width="38" bgcolor="#66CCFF"><div align="center">ID</div></td>
          <td width="207" bgcolor="#66CCFF">Categoria</td>
          <td colspan="2" bgcolor="#66CCFF"><div align="center">Accion</div>
                 
                </td>
          </tr>
    
      <xsl:for-each select="categorias/categoria">
        
        <tr>
          <td><div align="center"> <xsl:value-of select="id" /> </div></td>
          <td> <xsl:value-of select="nombre" /> </td>
          <td width="29"><div align="center"><a href="#"><img src="img/edit.png" alt="Editar" width="16" height="16" border="0" /></a></div></td>
          <td width="26"><div align="center"><a href="#"><img src="img/drop.png" alt="Eliminar" width="16" height="16" border="0" /></a></div></td>
        </tr>
        
     </xsl:for-each>
 
      </table>

  </xsl:template>
</xsl:stylesheet>